package com.renke.enml;

import java.util.HashMap;
import java.util.Map;

public class ParsedElement {
	private String name;
	private Attribute attributes;
	private final Map<String, ParsedElement> subElements = new HashMap<String, ParsedElement>();

	public ParsedElement(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Attribute getAttributes() {
		return attributes;
	}

	public void setAttributes(Attribute attributes) {
		this.attributes = attributes;
	}

	public Map<String, ParsedElement> getSubElements() {
		return subElements;
	}
}
